const state = {
    station: {},
    loc:{}
};
const getters = {

};
const mutations = {
    setin(state, info) {
        state.station = info;
    },
    setlog(state, info) {
        state.loc = info;
    }
};
const actions = {
    setInStation(context, info) {
        context.commit('setin', info)
    },
    setInloc(context, info) {
        context.commit('setlog', info)
    }
};
export default {
    namespaced: true,//用于在全局引用此文件里的方法时标识这一个的文件名
    state,
    getters,
    mutations,
    actions
}